import request from '@/utils/request'

// 查询作业进行中
export function Now(classId) {
  return request({
    url: '/topic/queryByClassNow/'+classId,
    method: 'post',

  })
}
// 查询作业未开始
export function After(classId) {
  return request({
    url: '/topic/queryByClassAfter/'+classId,
    method: 'post',

  })
}

// 查询作业已过期
export function Before(classId) {
  return request({
    url: '/topic/queryByClassBefore/'+classId,
    method: 'post',

  })
}
export function checkmyself(data) {
  return request({
    url: '/simhash/topFile/checkmyself',
    method: 'post',
    data:data
  })
}
